package l1j.opqlo.防暴等措施;

import l1j.server.server.datatables.ExpTable;
import l1j.server.server.model.Instance.L1PcInstance;
import l1j.server.server.serverpackets.S_SystemMessage;

public class 快速50級 {


	private static 快速50級 _instance;

	private static long EXP;


	public static 快速50級 get(){

		if(_instance == null){
			_instance = new 快速50級();
			EXP = ExpTable.getExpByLevel(50);
		}

		return _instance;
	}



	public void set(final L1PcInstance pc){

		if(pc.getExp()>1){return;}

		pc.sendPackets(new S_SystemMessage("\\aL"+"角色快速升級至50級。"));
		pc.setExp(EXP);

	}

	public void 自殺藥水(final L1PcInstance pc){
		pc.sendPackets(new S_SystemMessage("\\aL"+"角色快速升級至50級。"));
		pc.setExp(EXP);
	}

}
